home *** CD-ROM | disk | FTP | other *** search
/ PC Media 20 / PC MEDIA CD20.iso / share / prog / asm105 / hello.asm < prev    next >
Assembly Source File  |  1995-08-15  |  373b  |  11 lines

  1. ; +-------------------------------------------------------------+ ;        
  2. ; | Sample hello world program for use with the Magic Assembler | ;
  3. ; +-------------------------------------------------------------+ ;
  4.         mov     ah,09
  5.         mov     dx,offset(hello)
  6.         int     21
  7.         mov     ax,4c00
  8.         int     20
  9.  
  10. hello   db      'Hello, world!$'
  11.